package com.central.scheduler.common.task.dependent;

import com.central.common.model.ResourceInfo;
import com.central.scheduler.common.enums.DependentRelation;
import com.central.scheduler.common.entity.DependentTaskModel;
import com.central.scheduler.common.task.AbstractParameters;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Tindy
 * @date 2021/11/1
 * @describe
 */
public class DependentParameters extends AbstractParameters {

    private List<DependentTaskModel> dependTaskList;
    private DependentRelation relation;



    @Override
    public boolean checkParameters() {
        return true;
    }

    @Override
    public List<ResourceInfo> getResourceFilesList() {
        return new ArrayList<>();
    }

    public List<DependentTaskModel> getDependTaskList() {
        return dependTaskList;
    }

    public void setDependTaskList(List<DependentTaskModel> dependTaskList) {
        this.dependTaskList = dependTaskList;
    }

    public DependentRelation getRelation() {
        return relation;
    }

    public void setRelation(DependentRelation relation) {
        this.relation = relation;
    }
}

